﻿using Newtonsoft.Json;

namespace QQMapSDK.Models
{
    public class AdInfo
    {
        #region Model
        [JsonProperty("nation_code")]
        public string? NationCode { get; set; }

        [JsonProperty("adcode")]
        public string? AdCode { get; set; }

        [JsonProperty("phone_area_code")]
        public string? PhoneAreaCode { get; set; }

        [JsonProperty("city_code")]
        public string? CityCode { get; set; }

        [JsonProperty("name")]
        public string? Name { get; set; }

        [JsonProperty("location")]
        public Location Location { get; set; }

        [JsonProperty("nation")]
        public string? Nation { get; set; }

        [JsonProperty("province")]
        public string? Province { get; set; }

        [JsonProperty("city")]
        public string? City { get; set; }

        [JsonProperty("district")]
        public string? District { get; set; }

        [JsonProperty("_distance")]
        public double Distance { get; set; }
        #endregion
    }
}